package com.ziya.android.a3dmodel

import android.content.Intent
import android.os.Bundle
import com.ziya.android.a3dmodel.course.one.CourseOneActivity
import com.ziya.android.a3dmodel.course.two.CourseTwoActivity
import com.ziya.android.a3dmodel.databinding.ActivityMainBinding
//https://github.com/githubhaohao/NDK_OpenGLES_3_0
class MainActivity : BaseActivity<ActivityMainBinding>() {
    override fun onCreated(savedInstanceState: Bundle?) {
        vb.viewTvSingleTriangle.setOnClickListener {
            startActivity(Intent(this, CourseOneActivity::class.java))
        }
        vb.viewTvSingleCube.setOnClickListener {
            startActivity(Intent(this, CourseTwoActivity::class.java))
        }
    }

    override fun getLayoutID(): Int {
        return R.layout.activity_main
    }

}